﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="search.aspx.cs" Inherits="HY.WEB.function.search" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style>
    .x-form-item label
    {
            text-align: right;
    }
</style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    
       <ext:PageManager ID="PageManager1" runat="server" />
        <ext:Form ID="Form3" runat="server"  Height="36px" BodyPadding="5px" ShowHeader="false"
ShowBorder="false" EnableBackgroundColor="true" >
            <Rows>
                <ext:FormRow ID="FormRow2" runat="server" >
                <Items>                   
<ext:DropDownList ID="ddlfiled" runat="server" Label="查询字段"  Width="73px" >
</ext:DropDownList>
<ext:DropDownList ID="ddlwhere" runat="server" Label="查询条件"  Width="60px">
</ext:DropDownList>

  <ext:TwinTriggerBox ID="TTB" runat="server" ShowLabel="false" EmptyText="关键字"
 Trigger1Icon="Clear" Trigger2Icon="None" ShowTrigger1="false" OnTrigger2Click="ttbSearchMessage_Trigger2Click"
　OnTrigger1Click="ttbSearchMessage_Trigger1Click" >
</ext:TwinTriggerBox>
        <ext:Button ID="btsearch" runat="server"  Text="添加条件" OnClick="btsearch_Click" >
        </ext:Button>
       </Items>
        </ext:FormRow>
           
            </Rows>
        </ext:Form>
   
    
        <ext:Grid ID="Grid1" ShowBorder="true" ShowHeader="true" AutoHeight="true"  Title="查询条件列表"
        runat="server" EnableCheckBoxSelect="True"  DataKeyNames="sid" EnableRowNumber="True"  AnchorValue="100% -36px">
                <Toolbars>
            <ext:Toolbar ID="Toolbar1" runat="server">
                <Items>
                  <ext:Button ID="btnDelete" Text="删除选中项" Icon="Delete" OnClick="btnDelete_Click" runat="server">
                    </ext:Button>
                </Items>
            </ext:Toolbar>
        </Toolbars>
            <Columns> 
            <ext:BoundField Width="200px"  DataField="remark" HeaderText="查询条件" />      
            </Columns>
        </ext:Grid>
    
    </div>
    </form>
</body>
</html>
